package cn.young.javalearning.designpattern.prototype.deep;

import java.util.Date;

public class Monkey {
    private String name;
    private Date age;

    public Monkey() {
    }

    public Monkey(String name, Date age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public Monkey setName(String name) {
        this.name = name;
        return this;
    }

    public Date getAge() {
        return age;
    }

    public Monkey setAge(Date age) {
        this.age = age;
        return this;
    }
}

